import request from '@/utils/request'
import { faceApiUrl } from '../config'

/*专业类别*/

/**
 * 专业类别新增
 * @param data
 */
export function majorTypeInsertSelective(data){
    return request({
      url: `${faceApiUrl}/majorType/insertSelective`,
      method: 'post',
      data
    })
}

/**
 * 专业类别列表
 * @param data
 */
export function majorTypeList(data){
    return request({
      url: `${faceApiUrl}/majorType/queryByPage`,
      method: 'post',
      data
    })
} 

/**
 * 修改专业类别
 * @param data
 */
export function updateByPrimaryKeySelective(data){
    return request({
      url: `${faceApiUrl}/majorType/updateByPrimaryKeySelective`,
      method: 'post',
      data
    })
} 

/**
 * 删除
 * @param data
 */
export function deleteByPrimaryKey(data){
    return request({
      url: `${faceApiUrl}/majorType/deleteByPrimaryKey?id=${data.id}`,
      method: 'post',
      data
    })
} 



  
  